package com.hrm.dao;

import com.hrm.model.HrmApartment;
import com.hrm.model.HrmStaff;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface HrmApartmentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(HrmApartment record);

    int insertSelective(HrmApartment record);

    HrmApartment selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HrmApartment record);

    int updateByPrimaryKeyWithBLOBs(HrmApartment record);

    int updateByPrimaryKey(HrmApartment record);

    List<HrmApartment> getPageByMap(Map<String, Object> param);

    int getPageNumByMap(Map<String, Object> param);

    int deleteByApart(Integer id);
}